source config.sh

rm $InstanceUserFile

while read line
do
	user=$(echo $line | awk {'print $1'})

	for i in $($Commander $user $GetAllKindInstancesIDs); do
		Filtered=$(echo "$i" | grep "i-")
		if [ "$Filtered" != "" ];then
			echo "$i $user" >> $InstanceUserFile
		fi
	done
done < $UserFileName

exit 